<?php
class ModelComments
{
	private   $id;
	private $text;
	
	function __construct($comments) {
		$this->id   = $comments['id_comment'];
		$this->text = $comments['text'];
	}
	public function getText() {
		return $this->text;
	}
	public function getId() {
		return $this->id;
	}
}